
from . import app

# 数据库配置
app.config["SQL_ADDRESS"] = '127.0.0.1'
app.config["SQL_DATABASE"] = 'flask_nebula'
app.config["SQL_USER"] = 'root'
app.config["SQL_PASSWORD"] = '123456'
app.config["SQL_PORT"] = 3306
# token配置
app.config["TIMEOUT_TOKEN"] = 2 * 60 * 60
app.config["TIMEOUT_EMAIL"] = 10 * 60
# 私钥
app.config["PRIVATE_KEY"] = "19980820"
# 邮件配置
app.config["MAIL_SERVER"] = 'smtp.163.com'
app.config["MAIL_PORT"] = 25
app.config["MAIL_USE_TLS"] = True
app.config["MAIL_USERNAME"] = 'dywzzjx@163.com'
app.config["MAIL_PASSWORD"] = 'zjx941137281'
